* process.c (wait_reading_process_output): Add missing FD_CLR
authorJan D <jan.h.d@swipnet.se>
Mon, 27 Sep 2010 20:43:03 +0000 (22:43 +0200)
committerJan D <jan.h.d@swipnet.se>
Mon, 27 Sep 2010 20:43:03 +0000 (22:43 +0200)
for write_mask (must mirror connect_wait_mask).

src/ChangeLog
src/process.c

index 870c4bfdc0689986afdc057b1b2b597ad3780e45..927860314b807f0bba34d4f22cebded91e904c0d 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-27  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * process.c (wait_reading_process_output): Add missing FD_CLR
+       for write_mask (must mirror connect_wait_mask).
+
 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * gnutls.c (gnutls_log_function): Show level and "gnutls.c"
index cf16027b30a3f4bf186fba6086849892fd818c45..4536dcc2a8eb543c138e1cbdbc974a4602b5facb 100644 (file)
@@ -5068,6 +5068,7 @@ wait_reading_process_output (int time_limit, int microsecs, int read_kbd,
              struct Lisp_Process *p;
 
              FD_CLR (channel, &connect_wait_mask);
+              FD_CLR (channel, &write_mask);
              if (--num_pending_connects < 0)
                abort ();